export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/recommend/recommend',
    'pages/releaseActivity/releaseActivity',
    'pages/message/message',
    'pages/my/my',
    // 'pages/auth/login/login',
    // 'pages/auth/privacy/privacy',
    // 'pages/auth/privacy/privacyUser',
    // 'pages/auth/login/verifyCode',
    // 'pages/auth/privacy/issues',
    // 'pages/auth/privacy/issuesDetail',


    //activity
    // 'pages/activity/inputActivity',
  ],
  subPackages:[
    {
      "root": "login",
      "pages": [
        'login/login',
        'login/verifyCode',
        'privacy/privacy',
        'privacy/privacyUser',
        'privacy/issues',
        'privacy/issuesDetail',
      ]
    },
    {
      "root": "activity",
      "pages": [
        'inputActivity',
        'actCardTemp',
        'actInfo',
        'shequn',
        'releaseSuccess',
        'inputTicket',
      ]
    },
    {
      "root": "account",
      "pages": [
        'editAcc',
        'myOrder',
        'myWallet',
        'myActivity',
        'myGroup',
        'myStar',
        'myFollow',
        'myFootPrint',
      ]
    }
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    "custom":true,
    "backgroundColor": "#fafafa",
    "borderStyle": "white",
    "selectedColor": "#AB956D",
    "color": "#666",
    "list": [
      {
      "pagePath": "pages/index/index",
      "iconPath": './static/images/recommend.png',
      "selectedIconPath": './static/images/home@selected.png',
      "text": "首页"
    },
    {
      "pagePath": "pages/recommend/recommend",
      "iconPath": './static/images/recommend.png',
      "selectedIconPath": './static/images/recommend@selected.png',
      "text": "推荐"
    },
    {
      "pagePath": "pages/releaseActivity/releaseActivity",
      "iconPath": './static/images/recommend.png',
      "selectedIconPath": './static/images/recommend@selected.png',
      "text": "发布活动"
    },
    {
      "pagePath": "pages/message/message",
      "iconPath": './static/images/message.png',
      "selectedIconPath": './static/images/recommend@selected.png',
      "text": "消息"
    },
     {
      "pagePath": 'pages/my/my',
      "iconPath": './static/images/my.png',
      "selectedIconPath": './static/images/recommend@selected.png',
      "text": "我的"
    }
  ]
  },
})
